<template>
  <div id="gaode">
    <h1>{{ msg }}</h1>
    <olmap ref="olmap" />
  </div>
</template>

<script>
import olmap from '../../map/olmap.vue'
export default {
  name: 'gaode',
  components: {
    olmap
  },
  data() {
    return {
      msg: '高德地圖'
    }
  },
  mounted() {
    let ol = this.$refs.olmap;
    console.log(ol)
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
h1,
h2 {
  font-weight: normal;
}
</style>
